<template>
  <div class="user_car">
    <img style="width: 40px; height: 40px;border-radius: 50%" src="../assets/wei.jpg" alt="">
    <div class="user_detail">
      <p>Viego</p>
      <p>发布时间：<span style="color: rgb(186, 186, 186)">12:04  2023/11/20 </span></p>
    </div>
    <button type="button" style="width: 55px;height: 29px;margin-top: 7px;margin-left: 30px"  class="btn btn-primary btn-sm">关注</button>
    
  </div>
</template>

<script>
export default {
  name:'user_card',
  props: {
    user: {
      type: Object,
      // required: true
    },
  },
};
</script>

<style scoped lang="less">
.user_car{
  display: flex;
  font-size: small;
  
  .user_detail{
    //display: flex;
    line-height: 10px;
    margin-left: 10px;
    p{
      text-align: left;
    }
    
  }
}
</style>
